{% extends "pretixcontrol/items/base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}{% trans "Delete check-in list" %}{% endblock %}
{% block inside %}
	<h1>{% trans "Delete check-in list" %}</h1>
	<form action="" method="post" class="form-horizontal">
		{% csrf_token %}
		<p>{% blocktrans with name=checkinlist.name %}Are you sure you want to delete the check-in list <strong>{{ name }}</strong>?{% endblocktrans %}</p>
		{% if checkinlist.checkins.exists > 0 %}
			<p>{% blocktrans trimmed with num=checkinlist.checkins.count %}
                This will delete the information of <strong>{{ num }}</strong> check-ins as well.
            {% endblocktrans %}</p>
		{% endif %}
		<div class="form-group submit-group">
            <a href="{% url "control:event.orders.checkinlists" organizer=request.event.organizer.slug event=request.event.slug %}"
                    class="btn btn-default btn-cancel">
                {% trans "Cancel" %}
            </a>
            <button type="submit" class="btn btn-delete btn-danger btn-save">
                {% trans "Delete" %}
            </button>
		</div>
	</form>
{% endblock %}
